package cz.fi.muni.pb138.spring2013.dtd2xsd.entities;

import cz.fi.muni.pb138.spring2013.dtd2xsd.visitor.interfaces.ContentRestriction;
import cz.fi.muni.pb138.spring2013.dtd2xsd.visitor.interfaces.Visitor;

/**
 * This class represents "simple" restriction on a DTD element: whether the
 * element is "empty", "any" or contains only "PCDATA".
 *
 * @author Slavomir Krupa
 */
public enum SimpleElementRestriction implements ContentRestriction {

    ANY, EMPTY, PCDATA;

    /**
     *
     * @param visitor
     */
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
